Java classes are created from structures and data types found in the standard QuickTime C language header files. These data types provide the basic class structure of the QuickTime for Java API. For example, the Movie data type in Movies.h becomes the Movie class. In general, the C function calls list the main data structure they operate on as the first parameter of the function. These calls become methods in this class. In line with Java conventions, all class names are capitalized, while method names are not.
The methods of a class are created from C functions. There is generally a one-to-one relationship between a native function call and a Java method. The Java method's name is derived by the following procedure:
logically translates (or is bound by) the Java method
logically translates (or is bound by) the Java method
setPort on the MovieController class.
A complete list of the QuickTime functions that QuickTime for Java binds is provided on the QuickTime for Java SDK, which is included with the book QuickTime for Java. The javadoc-generated documentation in HTML, also on the SDK, lists for each method the related QuickTime function call in bold. For example:
The supplied HTML documentation for these binding calls provides only brief descriptions. You need to refer to the QuickTime documentation in this website for specific details of a particular API, as well as for general discussions on the usage of particular services.
| Previous | Chapter Top | Next |